package org.infosec.lc.exercises.esper.modle;

import java.io.Serializable;

/**
 * 文件名：NormalizedEvent.java 作 者：林超 时 间：2011-6-22下午02:32:48
 * 
 * 功能描述：简化后标准事件对象
 * 
 * pom.xml :
 */
public class NormalizedEvent implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2317917014874753933L;
	// 源IP
	private String srcip;
	// 源端口
	private Integer srcport;
	// 目标IP
	private String destip;
	// 目标端口
	private Integer destport;
	// 威胁级别
	private Integer threatrank;
	// 协议类型
	private String protocol;

	public String getSrcip() {
		return srcip;
	}

	public void setSrcip(String srcip) {
		this.srcip = srcip;
	}

	public Integer getSrcport() {
		return srcport;
	}

	public void setSrcport(Integer srcport) {
		this.srcport = srcport;
	}

	public String getDestip() {
		return destip;
	}

	public void setDestip(String destip) {
		this.destip = destip;
	}

	public Integer getDestport() {
		return destport;
	}

	public void setDestport(Integer destport) {
		this.destport = destport;
	}

	public Integer getThreatrank() {
		return threatrank;
	}

	public void setThreatrank(Integer threatrank) {
		this.threatrank = threatrank;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public NormalizedEvent() {
		super();
	}

}
